A Study of Conflict Detection in Software Transactional Memory by Daniel Lupei A thesis submitted in conformity with the requirements

نویسنده

  • Daniel Lupei
چکیده

A Study of Conflict Detection in Software Transactional Memory Daniel Lupei Master of Applied Science Graduate Department of Electrical and Computer Engineering University of Toronto 2009 Transactional Memory (TM) has been proposed as a simpler parallel programming model compared to the traditional locking model. However, uptake from the programming community has been slow, primarily because performance issues of software-based TM strategies are not well understood. In this thesis we conduct a systematic analysis of conflict scenarios that may emerge when enforcing correctness between conflicting transactions. We find that some combinations of conflict detection and resolution strategies perform better than others depending on the conflict patterns in the application. We validate our findings by implementing several concurrency control strategies, and by measuring their relative performance. Based on these observations, we introduce partial rollbacks as a mechanism for effectively compensating the variability in the TM algorithm performance. We show that using this mechanism we can obtain close to the overall best performance for a range of conflict patterns in a synthetically generated workload and a realistic game application.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Architectural Support for Commutativity in Hardware Speculation

Hardware speculative execution schemes (e.g., hardware transactional memory (HTM)) enjoy low run-time overheads but suffer from limited concurrency because they detect conflicts at the level of reads and writes. By contrast, software speculation schemes can reduce conflicts by exploiting that many operations on shared data are semantically commutative: they produce semantically equivalent resul...

متن کامل

Performance Comparison of Software Transactional Memory Implementations

KARIATH, RIYA RAJU. Performance Comparison of Software Transactional Memory Implementations. (Under the direction of Dr. Edward F Gehringer.) Software Transactional Memory (STM), an optimistic concurrency control mechanism for controlling accesses to shared memory, is a promising alternative to lockbased mutual exclusion strategies. A transaction in this context is each piece of code that execu...

متن کامل

The Impact of the Training in Transactional Analysis on Emotional Self-Regulation of Female Students who were in Conflict with their Parents

This study was carried out to examine how effective the training in transactional analysis is in the emotional self-regulation of female senior high school students who were in conflict with their parents. This applied, quasi-experimental study had a pretest-posttest control group design.  The statistical population of study comprised all senior high school girls in 2017-18 school year in Kamya...

متن کامل

Atomic-level investigation of surface processes governing SiGe wetting layer formation using STM/STS

OF THESIS Submitted in Partial Fulfillment of the Requirements for the Degree of Master of Science Chemical Engineering The University of New Mexico Albuquerque, New Mexico

متن کامل

System Challenges and Opportunities for Transactional Memory a Dissertation Submitted to the Department of Electrical Engineering and the Committee on Graduate Studies of Stanford University in Partial Fulfillment of the Requirements for the Degree of Doctor of Philosophy

Recent trends in architecture have made chip multiprocessors (CMPs) increasingly common. CMPs provide programmers with an unprecedented opportunity for parallel execution. Nevertheless, the key factor limiting their potential is the complexity of parallel application development using primitives such as locks and condition variables. While transactional memory (TM) is a technique that helps wit...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2009